package com.feng.extra.config;

import com.feng.ioc.bean.Color;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@ComponentScan(value = {"com.feng.extra"})
@Configuration
public class Config {

    @Bean
    public Color color(){
        return  new Color();
    }
}
